/*
 * collections.h
 *
 *  Created on: 24/12/2011
 *      Author: utn_so
 */

#ifndef COLLECTIONS_H_
#define COLLECTIONS_H_


#define _XOPEN_SOURCE 500

#include <semaphore.h>

struct link_element{
		void *data;
		struct link_element *next;
};
typedef struct link_element t_link_element;

struct dlink_element{
		struct dlink_element *previous;
		void *data;
		struct dlink_element *next;
};
typedef struct dlink_element t_dlink_element;

#endif /* COLLECTIONS_H_ */
